﻿namespace Oblivion.Networking.Packets
{
    public class KickPacket
    {
        private readonly Packet pkt;
        public string Reason;

        public KickPacket()
        {
            pkt = new Packet(PacketType.KickPacket);
        }

        public byte[] Build()
        {
            pkt.WriteString(Reason);
            return pkt.Finalize();
        }
    }
}